package fr.upmc.cie.data;

import java.io.Serializable;

import android.content.ContentValues;

public class ChannelItem implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private String title;
	private String url;
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getTitle() {
		return title;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getUrl() {
		return url;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getId() {
		return id;
	}
	
	public ContentValues getContentValues(){
		ContentValues cv = new ContentValues();
		cv.put("title", title);
		cv.put("url", url);
		return cv;
	}
	
	public String toString(){
		return this.title;
	}

}
